package com.ruoyi.expert.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 培训表 cs_training
 *
 * @author wyp
 */
public class Training {
    /** 培训ID */
    private Integer lid;
    /** 专家ID */
    private Integer jid;
    /** 培训机构 */
    private String l_training;
    /** 培训专业 */
    private String l_specialized;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    /** 培训开始时间 */
    private Date l_start_date;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    /** 培训结束时间 */
    private Date l_end_date;

    public Training(Integer lid, Integer jid, String l_training, String l_specialized, Date l_start_date, Date l_end_date) {
        this.lid = lid;
        this.jid = jid;
        this.l_training = l_training;
        this.l_specialized = l_specialized;
        this.l_start_date = l_start_date;
        this.l_end_date = l_end_date;
    }
    public Training(){

    }

    public Integer getLid() {
        return lid;
    }

    public void setLid(Integer lid) {
        this.lid = lid;
    }

    public Integer getJid() {
        return jid;
    }

    public void setJid(Integer jid) {
        this.jid = jid;
    }

    public String getL_training() {
        return l_training;
    }

    public void setL_training(String l_training) {
        this.l_training = l_training;
    }

    public String getL_specialized() {
        return l_specialized;
    }

    public void setL_specialized(String l_specialized) {
        this.l_specialized = l_specialized;
    }

    public Date getL_start_date() {
        return l_start_date;
    }

    public void setL_start_date(Date l_start_date) {
        this.l_start_date = l_start_date;
    }

    public Date getL_end_date() {
        return l_end_date;
    }

    public void setL_end_date(Date l_end_date) {
        this.l_end_date = l_end_date;
    }

    @Override
    public String toString() {
        return "Training{" +
                "lid=" + lid +
                ", jid=" + jid +
                ", l_training='" + l_training + '\'' +
                ", l_specialized='" + l_specialized + '\'' +
                ", l_start_date=" + l_start_date +
                ", l_end_date=" + l_end_date +
                '}';
    }
}
